<template>
  <el-breadcrumb separator="/">
    <el-breadcrumb-item :to="{ path: '/welcome' }" class="el-icon-s-fold">首页</el-breadcrumb-item>
    <el-breadcrumb-item><a href="/">{{breadList}}</a></el-breadcrumb-item>
  </el-breadcrumb>
</template>

<script>
export default {
  computed: {
    breadList() {
      return this.$route.matched;
    },
  },
};
</script>

<style>

</style>
